#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2021/1/22 18:29
    Desc  :     系统监控
--------------------------------------
"""
import time

import psutil

if __name__ == '__main__':
    # print(psutil.cpu_count(logical = False))
    # print(psutil.cpu_freq())
    # print(psutil.cpu_times())

    while True:
        print(psutil.cpu_times())
        time.sleep(1)
